package utils.prefixTree;


import java.time.LocalDateTime;

public class Main {
    public static void main(String[] args) {
        RyabkoTree tree = new RyabkoTree();
        int curTimeSecs = LocalDateTime.now().getSecond();
        for (int i = 0; i <= 10000; i++) {
            tree.push(1);
            tree.push(2);
            tree.pop();
            tree.set(i, 5);
            tree.prefixSum(i);
        }

        System.out.println(LocalDateTime.now().getSecond() - curTimeSecs + " ms.");
    }
}
